<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="/js/axios.min.js"></script>
<script src="/js/util.js"></script>
<script>
    window.onload =function (){
        axios.get("employee/getLoginUser").then(resp=>{
            var info = resp.data;
            if (info==""){
                $("welcome").innerHTML=`请先<a href="/login.html">登陆</a>;`
            }
        })
    }
</script>

<style>
    div{
       border: 1px solid ;
    }
</style>
<body>
<div style="height: 80px" id="welcome">欢迎使用邮件系统</div>
<div style="height: 600px;display: flex">
    <div style="height: 595px;width: 200px;" >
        邮件系统<br>
        <a href="/write.html" target="contentFrame">写邮件</a><br>
        <a href="/sendBox.html" target="contentFrame">发件箱</a><br>
        <a href="/InBox.html" target="contentFrame">收件箱</a><br>
    </div>
    <iframe frameborder="0" src="" name="contentFrame" width="1000" height="800"></iframe>
</div>
</body>
</html>